package com.example.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.admin.bean.Account;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Select;

public interface AccountMapper extends BaseMapper<Account> {

//    @Select("select * from account where id =#{id}")
//    public Account getById(Integer id);

//    @Insert("insert into city() values()")
//    @Options(useGeneratedKeys = true,keyProperty = "id")
//    public void insert(Account account);

}
